package com.smart.campus.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@TableName(value = "sh_ask")
public class ShAsk implements Serializable {
    private static final long serialVersionUID = -59106920130826283L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 学生id
     */
    private Integer stId;
    /**
     * 班级id
     */
    private Integer gradeId;
    /**
     * 开始时间
     */
    private Date timeOn;
    /**
     * 结束时间
     */
    private Date timeEnd;
    /**
     * 请假原因
     */
    private String askReaso;
    /**
     * 请假类型
     */
    private String askType;
    /**
     * 症状
     */
    private String askSymptom;
    /**
     * 发病时间
     */
    private Date occurrenceTime;

    private Date diagnosisTime;
    /**
     * 离校状态
     */
    private String departureStatus;
    /**
     * 图片
     */
    private String img;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改人
     */
    private String updateBy;
    /**
     * 修改时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private ShClass shClass;
}
